#include "AccuracyBonus.h"
#include "Stage.h"

AccuracyBonus::AccuracyBonus() {
	this->setTexture((Texture*)DaoFactory::getInstance()->getDao("Texture")->find("chrome"));
	/*Sacar el dao de aki*/
	this->setRadius(15);
	this->setLineColor(new Color("255","255","255"));
	this->setSurface(SketcherHelper::getInstance()->createCircleSurface(this->getRadius(),this->getTexture(),this->getLineColor()));
	this->setId("AccuracyBonus");
}

AccuracyBonus::~AccuracyBonus() {
}

void AccuracyBonus::doMagic(void* stage){
	Stage* s=(Stage*)stage;
	s->setLaserOn();
}

void AccuracyBonus::undoMagic(void* stage){
	Stage* s=(Stage*)stage;
	s->setLaserOff();
}


